home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010921-20020314
/
000400_hvanclee@nyx10.nyx.net_Sat Mar 2 19:42:23 EST 2002.msg
< prev
next >
Wrap
Text File
|
2002-03-13
|
3KB
|
74 lines
Article: 13249 of comp.protocols.kermit.misc
Newsgroups: comp.protocols.kermit.misc
Subject: Problem compiling cku201 with ssl/pam/shadow on Solaris 8
Organization: Nyx net, The Spirit of the Night
X-Newsreader: trn 4.0-test74 (May 26, 2000)
From: hvanclee@nyx10.nyx.net (Henry van Cleef)
Message-ID: <1015095274.284391@irys.nyx.net>
Cache-Post-Path: irys.nyx.net!hvanclee@nyx10.nyx.net
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)
NNTP-Posting-Host: 206.124.29.6
Date: 2 Mar 2002 11:54:34 -0700
X-Trace: omega.dimensional.com 1015095274 206.124.29.6 (2 Mar 2002 11:54:34 -0700)
Lines: 57
Path: newsmaster.cc.columbia.edu!panix!jfk3-feed1.news.digex.net!intermedia!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!206.124.0.13.MISMATCH!omega.dimensional.com!not-for-mail
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13249
I set up this morning to upgrade Kermit for several machines from 200
to 201. I've tried it on Solaris x86 and on a Sun Ultra 2, and gotten
the same results. Redid a compile of cku200 on x86 "just to be sure."
The error I get is in ckuauth. Here is the message:
gcc -g -O -Usun -DSVR4 -DSOLARIS -DSTERMIOX -DSELECT -DFNFLOAT
-DCK_CURSES -DCK_NEWTERM -DDIRENT -DHDBUUCP -DTCPSOCKET
-DCK_AUTHENTICATION -DCK_SSL -DCK_PAM -DCK_SHADOW -DZLIB -DBIGBUFOK
-I/usr/local/ssl/include -DSOLARIS8 -DNODIAL
-DKTARGET=\"solaris8g+openssl+zlib+pam+shadow\" -c ckuath.c
In file included from /usr/local/ssl/include/openssl/evp.h:89,
from /usr/local/ssl/include/openssl/x509.h:67,
from /usr/local/ssl/include/openssl/ssl.h:69,
from ck_ssl.h:36,
from ckuath.c:201:
/usr/local/ssl/include/openssl/des.h:78: conflicting types for `Block'
/usr/local/ssl/include/openssl/des.h:77: previous declaration of
`Block'
*** Error code 1
make: Fatal error: Command failed for target `ckuath.o'
Current working directory /usr/local/src/cku201
*** Error code 1
make: Fatal error: Command failed for target
`solaris2xg+openssl+zlib+pam+shadow'
Current working directory /usr/local/src/cku201
Configuration details:
Solaris 8 10/01 using the the gcc (2.95.3) included on the Software
Companion CD.
Openssh 0.9.6c, configured with no arguments, make, make test, make
install.
The offending lines (what gcc complains about) in des.h, with a
comment, are:
77 typedef unsigned char des_cblock[8];
78 typedef /* const */ unsigned char const_des_cblock[8];
79 /* With "const", gcc 2.8.1 on Solaris thinks that des_cblock *
80 * and const_des_cblock * are incompatible pointer types. */
Before I charge off and do something to resolve this, I thought I'd
post and see if somebody's been here ahead of me. I don't see any
ifdefs for Solaris in the des.h file that would affect this, and tried
it on a 32-bit system (x86) as well as a 64-bit (Ultra 2 boots
sparcv9), and don't see that this makes a difference. I don't have
the Sun Forte compiler, and can't see any flags that are attempting to
make gcc do anything other than make a 32-bit object.
Comments from anyone?
Hank